package com.cljz.makepassenger.model.map;


import com.cljz.makepassenger.widget.indexbar.IndexBar.bean.BaseIndexPinyinBean;

import java.io.Serializable;
import java.util.ArrayList;

public class City extends BaseIndexPinyinBean implements Serializable {
    private String city_id;
    private String areaId;
    private String areaName;
    private boolean isTop;//是否是最上面的 不需要被转化成拼音的
    private ArrayList<County> counties = new ArrayList<County>();
    private String address;
    public  double latitude;
    public  double longitude;
    private String Provice;
    private String CityName;

    public String getCityName() {
        return CityName;
    }

    public void setCityName(String cityName) {
        CityName = cityName;
    }

    public String getProvice() {
        return Provice;
    }

    public void setProvice(String provice) {
        Provice = provice;
    }

    public String getCity_id() {
        return city_id;
    }

    public void setCity_id(String city_id) {
        this.city_id = city_id;
    }

    public String getAreaId() {
        return areaId;
    }

    public void setAreaId(String areaId) {
        this.areaId = areaId;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public boolean isTop() {
        return isTop;
    }

    public void setTop(boolean top) {
        isTop = top;
    }

    public ArrayList<County> getCounties() {
        return counties;
    }

    public void setCounties(ArrayList<County> counties) {
        this.counties = counties;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    @Override
    public String getTarget() {
        return areaName;
    }

    @Override
    public String toString() {
        return "City{" +
                "city_id='" + city_id + '\'' +
                ", areaId='" + areaId + '\'' +
                ", areaName='" + areaName + '\'' +
                ", isTop=" + isTop +
                ", counties=" + counties +
                ", address='" + address + '\'' +
                ", latitude=" + latitude +
                ", longitude=" + longitude +
                ", Provice='" + Provice + '\'' +
                ", CityName='" + CityName + '\'' +
                '}';
    }
}
